package com.twq;

/**
 * Created by tangweiqun on 2017/11/28.
 */
public class MyQueue extends BasicIntQueue {

    public void put(int para) {
        System.out.println("put");
        super.put(para); //在调用的地方就已经确定了是调用哪个super了
    }

    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.put(10);
        System.out.println(myQueue.get());
    }
}
